<template>
  <div class="page-card">
    <div class="page-card-wrapper">
      <slot></slot>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'PageCard'
  }
</script>

<style lang="scss">
  .page-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px;

    .page-card-wrapper {
      @include flex-column;
      height: 100%;
      overflow: hidden;
      border-radius: 4px;
      box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    }
  }
</style>
